﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="PaginaInicio.aspx.cs" Inherits="WebApplication.PaginaInicio" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
     <link rel='stylesheet' href='estilos.css'>
     <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script>
     <script src='funciones.js'></script>
     <script language="javascript" type="text/javascript">
         $(document).ready(function () {
             var emailreg = /^[a-zA-Z0-9_\.\-]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/;
             $(".boton").click(function () {
                 $(".error").remove();
                 if ($(".nombre").val() == "") {
                     $(".nombre").focus().after("<span class='error'>Ingrese su nombre</span>");
                     return false;
                 } if ($(".contrasenna").val() == "") {
                     $(".contrasenna").focus().after("<span class='error'>Ingrese su contraseña</span>");
                     return false;
                 }
             });
             $(".nombre, .asunto, .mensaje").keyup(function () {
                 if ($(this).val() != "") {
                     $(".error").fadeOut();
                     return false;
                 }
             });
             $(".contrasenna, .asunto, .mensaje").keyup(function () {
                 if ($(this).val() != "") {
                     $(".error").fadeOut();
                     return false;
                 }
             });
         });
</script> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
<br />
<br />
<br />

    
     
<form class='contacto'>
    &nbsp;&nbsp;Usuario:&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<div><asp:TextBox ID="tbxUsuario" class='nombre' runat="server" Width="186px"></asp:TextBox></div>
<br />
<br />
<br />
    &nbsp;Contraseña:&nbsp;&nbsp;
<div><asp:TextBox ID="tbxContrasenna" class='contrasenna' runat="server" Width="180px" TextMode="Password"></asp:TextBox></div>
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btnAceptar" runat="server" onclick="btnAceptar_Click" 
    Text="Aceptar" type='submit' class='boton' />
       </form>
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="lblMensaje" runat="server"></asp:Label>
<br />
<br />
<br />
<br />
<br />
<br />
    <br />
<br />
<br />
</asp:Content>
